import request from '@/utils/request'
export function getInforDemo(pId) {
    return request({
      url: '/system/user/getEmpById/' + pId,
      method: 'get'
    })
  }
// 新增
export function addInforDemo(data) {
    return request({
      url: '/mine/terminalInfo',
      method: 'post',
      data: data
    })
  }
	// 23456
  // 修改
  export function updateInforDemo(data) {
    return request({
      url: '/mine/terminalInfo',
      method: 'put',
      data: data
    })
  }
  // 根据mac地址查询信息操作   //  操作
export function getInforDemoList(macAddress) {
  return request({
    url: '/mine/terminalInfo/mac/'+ macAddress,
    method: 'get'
  })
}
// 专案楼层
export function listFloor() {
    return request({
      url: '/mine/terminalInfo/list/floor',
      method: 'get'
    })
  }
